package com.javen.controllerHelp;

public class ControllerHelp {

	public static void check1(String x) throws Exception {
		try {
			//校验参数
			Integer.parseInt(x);
		} catch (Exception e) {
			// TODO: handle exception
			throw new Exception("{\"code\":\"0\",\"msg\":\"carOwner参数类型错误\"}") ;
		}
	}
}
